# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

JAR_MANIFESTS += ['jar.mn']

XPIDL_SOURCES += [
    'nsIFeedResultService.idl',
    'nsIWebContentConverterRegistrar.idl',
]

XPIDL_MODULE = 'browser-feeds'

SOURCES += ['nsFeedSniffer.cpp']

EXTRA_COMPONENTS += [
    'BrowserFeeds.manifest',
    'FeedConverter.js', 
]

EXTRA_PP_COMPONENTS += [
    'FeedWriter.js',
    'WebContentConverter.js',
]

FINAL_LIBRARY = 'browsercomps'

for var in ('MOZ_APP_NAME', 'MOZ_MACBUNDLE_NAME'):
    DEFINES[var] = CONFIG[var]

LOCAL_INCLUDES += ['../build']
